home *** CD-ROM | disk | FTP | other *** search
/ ftp.mactech.com 2010 / ftp.mactech.com.tar / ftp.mactech.com / machack / Hacks97 / WarriorsProgress.sit / Warrior’s Progress / source code / Source / Libraries / Events / Event Classes / User Events / Mouse Events / MouseDownEvent.h < prev    next >
Text File  |  1997-06-28  |  474b  |  28 lines

  1. // MouseDownEvent.h
  2.  
  3. #ifndef MouseDownEvent_h
  4. #define MouseDownEvent_h
  5.  
  6. #ifndef MouseEvent_h
  7. #include "MouseEvent.h"
  8. #endif
  9.  
  10. class ScreenPart;
  11.  
  12. class MouseDownEvent: public MouseEvent
  13.   {
  14.     private:
  15.         const ScreenPart& screenPart;
  16.         bool activating;
  17.         
  18.     public:
  19.         MouseDownEvent( const EventRecord& event );
  20.         
  21.         const ScreenPart& ScreenPart() const    { return screenPart; }
  22.         bool Activating() const                        { return activating; }
  23.         
  24.         virtual void Respond() const;
  25.   };
  26.  
  27. #endif
  28.